package com.dw.etl.core.api;

import com.dw.etl.core.bean.model.EtlBase;
import com.dw.etl.core.bean.model.EtlLogXxltobatch;
import com.dw.etl.core.bean.vo.DmSqlVO;
import com.dw.etl.core.bean.vo.JobQryVO;
import org.springframework.batch.core.JobParametersBuilder;

import java.util.Date;
import java.util.List;

/**
 * Created by liujunlei on 2021/6/2.
 */
public interface EtlRunService {

    void autoCreatTable(String idBase);

    void createTable(String idTb);

    void runEtlBaseJobByDay(String nowDate, String sdJbcls, String xxlJObName, Date triggerTime);

    void runDmJObByDay(String nowDate,String xxlJObName,Date triggerTime);

    void runHistoryJob(List<EtlBase> etlBaseList, List<DmSqlVO> dmSqlVOList, JobQryVO jobQryVO, JobParametersBuilder parametersBuilder);

}
